export interface CollapsibleItem {
  id: string;
  title: string;
  content: string;
  isExpanded: boolean;
}

export interface SearchResult {
  itemId: string;
  title: string;
  content: string;
  matchType: 'title' | 'content';
  matchIndex: number;
  matchLength: number;
}

export interface SearchProps {
  onSearch: (query: string) => void;
  onClear: () => void;
  results: SearchResult[];
  isSearching: boolean;
  currentIndex: number;
  onPrevious: () => void;
  onNext: () => void;
}
